home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kit PC World De Ampliacion De Windows 95
/
Kit PC World de ampliacion de Windows 95.iso
/
internet
/
sweeper
/
samples
/
olecon~1
/
framewrk
/
makefile
< prev
next >
Wrap
Makefile
|
1995-12-05
|
2KB
|
77 lines
#=------------------------------------------------------------------------=
# Makefile [Framework]
#=------------------------------------------------------------------------=
# Copyright 1995 Microsoft Corporation. All Rights Reserved.
#
# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
# ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
# PARTICULAR PURPOSE.
#=--------------------------------------------------------------------------=
#
# builds a library for the Framework
#
TARGETOS=BOTH
APPVER=4.0
MKDEP=mkdep
!include <win32.mak>
cflags=$(cflags) -Oi
!if "$(NODEBUG)"!=""
CTLFWLIB=CTLFWR32.LIB
!else
cdebug=$(cdebug) -DDEBUG
CTLFWLIB=CTLFWD32.LIB
!endif
OBJS=AutoObj.Obj\
ClassF.Obj\
CtlEmbed.Obj\
CtlMisc.Obj\
CtlPsst.Obj\
CtlHelp.Obj\
Debug.Obj\
DibClasses.Obj\
Globals.Obj\
Internet.Obj\
IPServer.Obj\
PropPage.Obj\
StdEnum.Obj\
Unknown.Obj\
Util.Obj
all: dep $(CTLFWLIB)
$(CTLFWLIB): $(OBJS) makefile
$(implib) /NODEFAULTLIB $(OBJS) -out:$*.lib -machine:$(CPU)
if not exist ..\lib md ..\lib
copy $(CTLFWLIB) ..\lib
.cpp.obj:
$(cc) $(cflags) $(cvars) $(cdebug) -I..\Include $<
.c.obj:
$(cc) $(cflags) $(cvars) $(cdebug) -I..\Include -Tp $<
Dep:
@echo Generating Dependancies
$(MKDEP) -n -P ./ -I. -I..\Include -s .obj *.c* > dep.mak
clean:
del *.lib
del *.obj
del *.mak
#=----------------------------=
# Include Dependency Makefile
#
!IF EXIST(dep.mak)
!include dep.mak
!ENDIF